<?php

class Reservations_QuickAction extends SrsReservationsBaseAction
{
	public function getCredentials()
	{
		return 'reservations.request';
	}

	public function executeRead(AgaviRequestDataHolder $rd)
	{
		$hall = $this->getTable('Hall')->find($rd->getParameter('hall'));

		if (!$hall instanceof Hall) return $this->forward404();

		return 'Success';
 	}
}